<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link type="text/css" href="/layui/css/layui.css" rel="stylesheet">
    <link type="text/css" href="/css/core.css" rel="stylesheet"/>
    <link type="text/css" href="/css/main/user/userCI.css" rel="stylesheet"/>
</head>
<body>
<div id="all">
    <div th:include="main/main_h :: main_head"></div>
    <div id="core">
        <div id="main">
            <div id="userinfo_d" class="grbk">
                <div id="u_img_d">
                    <img id="u_img" th:src="${user.user_img.file_path}+${user.user_img.file_name}"/>
                    <div id="changerimg" class="noshow" onclick="getChangerUserImgUI()"><i class="layui-icon layui-icon-camera"></i></div>
                </div>
                <div id="u_info_d">
                    <div id="u_i_username_d">
                        <span id="u_i_username" th:text="${user.user_name}"></span>
                    </div>
                </div>
                <div id="u_info_r">
                    <div id="grzy_d">
                        <span id="grzy">个人主页 ></span>
                    </div>
                </div>
            </div>
            <div class="jg"></div>
            <div id="user_jcxx_d">
                <div id="j_title_d">
                    <span id="j_title">基本信息</span>
                </div>
                <hr class="layui-border-black">
                <div id="jcxx_d">
                    <ul>
                        <li>
                            <div class="jcxx1">用户名称</div>
                            <div class="jcxx2" id="j_username" th:text="${user.user_name}"></div>
                            <div class="bj noshow" id="bj_username"><i class="layui-icon layui-icon-edit"></i>编辑</div>
                            <div id="changerusername" class="noshow">
                                <input maxlength="10" id="c_username_i" oninput="check()"/>
                                <i id="t" class="layui-icon layui-icon-success"></i>
                                <i id="f" class="layui-icon layui-icon-error" title="用户名已存在!"></i>
                                <span id="tj_username">提交</span>
                                <span id="qx_username">取消</span>
                            </div>
                        </li>
                        <li>
                            <div class="jcxx1">用户ID</div>
                            <div class="jcxx2" th:text="${user.user_id}"></div>
                        </li>
                        <li>
                            <div class="jcxx1">性别</div>
                            <div class="jcxx2" id="usersex" th:if="${user.user_sex != null and user.user_sex != null}">
                                <span th:text="${user.user_sex}"></span>
                            </div>
                            <div class="jcxx2" id="usersex" th:if="${user.user_sex == null and user.user_sex == null}">未选择</div>
                            <div class="bj noshow" id="bj_usersex"><i class="layui-icon layui-icon-edit"></i>编辑</div>
                            <div id="changerusersex" class="noshow">
                                <div class="layui-form" id="sexxlk">
                                    <select lay-search="" id="c_usersex_i">
                                    </select>
                                    <span id="tj_usersex">提交</span>
                                    <span id="qx_usersex">取消</span>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="jcxx1">个人简介</div>
                            <div class="jcxx2" id="userjj" th:if="${user.user_grjj != null and user.user_grjj != null}">
                                <span th:text="${user.user_grjj}" id="usergrjj_s"></span>
                            </div>
                            <div class="jcxx2" id="userjj" th:if="${user.user_grjj == null and user.user_grjj == null}">未选择</div>
                            <div class="bj noshow" id="bj_userjj"><i class="layui-icon layui-icon-edit"></i>编辑</div>
                            <div id="changeruserjj" class="noshow">
                                <textarea id="c_userjj" name="c_userjj" maxlength="40" placeholder="你的简介" class="layui-textarea"></textarea>
                                <span id="tj_userjj">提交</span>
                                <span id="qx_userjj">取消</span>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/js/gj/jquery-3.5.1.min.js"></script>
<script src="/layui/layui.js"></script>
<script src="/js/main/user/userCI.js"></script>
<script>

</script>
</html>
